package br.unb.cdt.dao;

import java.util.HashSet;
import java.util.List;

import org.hibernate.Query;
import org.hibernate.Session;

import br.unb.cdt.models.Proposta;

public class PropostaDAO extends DataAccessObject {

	public List listAll() {
		Session s = createSession();
		Query query = s.createQuery("from Proposta");
		List list = query.list();
		s.close();

		return list;
	}
}
